package com.tuniu.agents.message;

/**
 * This interface represents a stream message.
 *
 * @param <T> the type of the message
 */
public interface StreamMessage<T> {

    /**
     * Converts the message to an event string representation.
     *
     * @return the event string
     */
    String toEventString();
}